home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 March
/
EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso
/
earcd
/
comm2
/
cp5.lha
/
cp5
/
bin
/
updateprogs.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1995-10-15
|
472b
|
19 lines
/* rexx:
** $ver: Update Program Prefs Version 1.0
*/
address command "copy cp:prefs/programs cp:prefs/programs.old"
address command "protect cp:prefs/programs.old -d"
call open(in,"cp:prefs/programs.old","R")
call open(out,"cp:prefs/programs","W")
call seek(out,0,"B")
do until eof(in)
line = readln(in)
parse var line progtype "=" programpath
newline = compress(progtype) ||" = stack "||programpath
call writeln(out,newline)
end
call close(in)
call close(out)